package com.ch.mobilesha.request;

import org.json.JSONObject;

import android.content.Context;

import com.ch.mobilesha.base.BaseRequestAsyncTask;
import com.ch.mobilesha.common.CommonRequestUrl;
import com.ch.mobilesha.net.MyHttpAPI;

public class GetHouseListRequest extends BaseRequestAsyncTask {

	private MyHttpAPI myHttpAPI = new MyHttpAPI(CommonRequestUrl.GetHouseList);
	public GetHouseListRequest(Context context, RequestServerListener requestServerListener){
		super(context, requestServerListener);
	}	
	@Override
	protected Object doInBackground(Object... params) {
		JSONObject result =null;
		try{
			result = myHttpAPI.requestForJson();
		}catch (Exception e) {
			e.printStackTrace();
			return null;
		}
		return result;
	}

}
